package com.hefei.garden.controller;

import com.hefei.garden.config.websocket.handler.WebSocketHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author: devil
 * @Date: 2022/7/21 20
 * @Description:
 */
@RequestMapping("/test")
@Controller
public class TestController {

//    @Autowired
//    private WebSocketHandler webSocketHandler;
//
//    @RequestMapping(value = "/getInfo", method = RequestMethod.GET)
//    @ResponseBody
//    public String getInfo() {
////        webSocketHandler.send();
//        return "zhu-gang";
//
//    }

}
